/*
 * Copyright (c) 2014. kupat Corporation. All rights reserved.
 * see statement on http://www.kupat.cn.
 */

package com.kfgj.hkp.common.components.jetbrains;

/**
 * Created by liwensihan on 2015/5/27.
 *
 * @author liwensihan
 */
public enum ProductType {

    IDEA(1),
    PHPStorm(2);
    private int id;

//  List<ProductType> list =

    private ProductType(int id)
    {
        this.id = id;
    }

    public int id()
    {
        return this.id;
    }

    public static ProductType getProductType(String str)
    {
//    for (ProductType product : ) {
//      if (product.toString().equalsIgnoreCase(str)) {
//        return product;
//      }
//    }
//    return null;

        return IDEA;
    }

}
